<!--<include file="public+header">-->

<!--{~$sCalendarLang=Core_Extend::calendar()}-->
<script type="text/javascript" src="<!--{:__PUBLIC__}-->/js/calendar/datepicker/WdatePicker.js"></script>

<!--{script}-->
function updateForm(){
	$("#submit_button").attr("disabled", "disabled");
	$("#submit_button").val( 'update...' );
	Q.AjaxSubmit('verifyAdd','<!--{:Q::U('jiajucompanymaster/verify')}-->','',function(data,status){ 
		$("#submit_button").attr("disabled", false);
		$("#submit_button").val( '更新' );
	});
}

function insertJiajucompanyverifyimg_(nAttachmentid,id){
	insertAttachmentthumb(id,nAttachmentid);
}

function insertJiajucompanyverifyimg1(nAttachmentid){
	insertJiajucompanyverifyimg_(nAttachmentid,'jiajucompanyverifyimg_1');
}

function insertJiajucompanyverifyimg2(nAttachmentid){
	insertJiajucompanyverifyimg_(nAttachmentid,'jiajucompanyverifyimg_2');
}

function insertJiajucompanyverifyimg3(nAttachmentid){
	insertJiajucompanyverifyimg_(nAttachmentid,'jiajucompanyverifyimg_3');
}

checkForm(updateForm);
<!--{/script}-->

	<section class="secondary_bar">
		<div class="breadcrumbs_container">
			<article class="breadcrumbs"><a href="<!--{:Q::U('public/fmain')}-->"><!--<lang package='Template'>-->主页<!--</lang>--></a> <div class="breadcrumb_divider"></div> <a class="current"><!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->编辑商家工商注册信息<!--</lang>--></a></article>
		</div>
	</section>

	<section id="main" class="column">
		<article class="module width_full">
			<header><h3><!--<lang package='Template'>-->操作提示<!--</lang>--></h3></header>
			<div class="module_content">
				<ul>
					<li><!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->商家的诚信档案，工商注册信息<!--</lang>--></li>
				</ul>
			</div>
		</article>

		<article class="module width_full">
			<header><h3 class="tabs_involved"><!--<lang package='__APPJIAJU_COMMON_LANG__@Template'>-->编辑工商注册信息<!--</lang>--></h3>
				<ul class="tabs">
					<li class="active"><a href="<!--{:Q::U('jiajucompanymaster/index')}-->">账户设置</a></li>
				</ul>
			</header>
			<form action="" method="post" id="verifyAdd" class="validate">
				<div class="module_content">
					<fieldset>
						<label for="jiajucompanyverify_realuser">法人姓名</label>
						<input type="text" name="jiajucompanyverify_realuser" id="jiajucompanyverify_realuser" class="{required:true,maxlength:50}" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_realuser}--><!--</if>-->"/>
						<div class="description input_tips">公司法人的姓名</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_realmobile">法人电话</label>
						<input type="text" name="jiajucompanyverify_realmobile" id="jiajucompanyverify_realmobile" class="{isPhone:true,maxlength:50}" id="jiajucompanyverify_realmobile" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_realmobile}--><!--</if>-->"/>
						<div class="description input_tips">公司的法人的联系电话,手机或座机都可以,座机需要加区号如010-123456</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_realqq">法人QQ</label>
						<input type="text" name="jiajucompanyverify_realqq" id="jiajucompanyverify_realqq" class="{isQQ:true,maxlength:50}" id="jiajucompanyverify_realqq" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_realqq}--><!--</if>-->"/>
						<div class="description input_tips">公司法人的联系QQ</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_realpeople">员工人数</label>
						<input type="text" name="jiajucompanyverify_realpeople" id="jiajucompanyverify_realpeople" class="{digits:true,min:0}" id="jiajucompanyverify_realpeople" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_realpeople}--><!--</if>-->"/>
						<div class="description input_tips">商家的员工人数</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_realarea">办公面积</label>
						<input type="text" name="jiajucompanyverify_realarea" id="jiajucompanyverify_realarea" class="{digits:true,min:0}" id="jiajucompanyverify_realarea" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_realarea}--><!--</if>-->"/>
						<div class="description input_tips">商家的办公面积，按照平米计算</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverifyimg">营业执照</label>
						<p><input style="float:left;width:400px;" type="text" name="jiajucompanyverifyimg[]" id="jiajucompanyverifyimg_1" value="<!--{if isset($arrVerifyImg[0])}--><!--{$arrVerifyImg[0]['jiajucompanyverifyimg_file']}--><!--{/if}-->" readonly onmouseover="globalPreviewImg('jiajucompanyverifyimg_1');" onmouseout="unglobalPreviewImg('jiajucompanyverifyimg_1');"/>
							<input type="button" value="<!--<lang package='__COMMON_LANG__@Common'>-->媒体<!--</lang>-->" class="alt_btn" onclick="globalAddattachment('insertJiajucompanyverifyimg1',1,1);">
							&nbsp;<span class="red" style="cursor:pointer;" onclick="$('#jiajucompanyverifyimg_1').val('');">x</span>
						</p>
						<p>
							<input style="float:left;width:400px;" type="text" name="jiajucompanyverifyimg[]" id="jiajucompanyverifyimg_2" value="<!--{if isset($arrVerifyImg[1])}--><!--{$arrVerifyImg[1]['jiajucompanyverifyimg_file']}--><!--{/if}-->" readonly onmouseover="globalPreviewImg('jiajucompanyverifyimg_2');" onmouseout="unglobalPreviewImg('jiajucompanyverifyimg_2');"/>
							<input type="button" value="<!--<lang package='__COMMON_LANG__@Common'>-->媒体<!--</lang>-->" class="alt_btn" onclick="globalAddattachment('insertJiajucompanyverifyimg2',1,1);">
							&nbsp;<span class="red" style="cursor:pointer;" onclick="$('#jiajucompanyverifyimg_2').val('');">x</span>
						</p>
						<p>
							<input style="float:left;width:400px;" type="text" name="jiajucompanyverifyimg[]" id="jiajucompanyverifyimg_3" value="<!--{if isset($arrVerifyImg[2])}--><!--{$arrVerifyImg[2]['jiajucompanyverifyimg_file']}--><!--{/if}-->" readonly onmouseover="globalPreviewImg('jiajucompanyverifyimg_3');" onmouseout="unglobalPreviewImg('jiajucompanyverifyimg_3');"/>
							<input type="button" value="<!--<lang package='__COMMON_LANG__@Common'>-->媒体<!--</lang>-->" class="alt_btn" onclick="globalAddattachment('insertJiajucompanyverifyimg3',1,1);">
							&nbsp;<span class="red" style="cursor:pointer;" onclick="$('#jiajucompanyverifyimg_3').val('');">x</span>
						</p>
						<div class="description">上传商家的营业执照，最多支持3张
							<div id="jiajucompanyverifyimg_1-preview"></div>
							<div id="jiajucompanyverifyimg_2-preview"></div>
							<div id="jiajucompanyverifyimg_3-preview"></div>
						</div>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_licensedate">执照过期</label>
						<input type="text" name="jiajucompanyverify_licensedate" id="jiajucompanyverify_licensedate" class="{dateISO:true}" id="jiajucompanyverify_licensedate" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_licensedate}--><!--</if>-->" readonly onfocus="WdatePicker({el:'jiajucompanyverify_licensedate',skin:'ext',lang:'<!--{$sCalendarLang}-->',dateFmt:'yyyy-MM-dd'})"/>
						<div class="description input_tips">商家申请的营业执照的到期时间</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_icp">ICP备案号</label>
						<input type="text" name="jiajucompanyverify_icp" id="jiajucompanyverify_icp" class="{maxlength:20}" id="jiajucompanyverify_icp" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_icp}--><!--</if>-->"/>
						<div class="description input_tips">公司网站的ICP备案号</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_regno">工商注册号</label>
						<input type="text" name="jiajucompanyverify_regno" id="jiajucompanyverify_regno" class="{maxlength:20}" id="jiajucompanyverify_regno" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_regno}--><!--</if>-->"/>
						<div class="description input_tips">公司工商注册号</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_regaddress">注册地址</label>
						<input type="text" name="jiajucompanyverify_regaddress" id="jiajucompanyverify_regaddress" class="{maxlength:50}" id="jiajucompanyverify_regno" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_regaddress}--><!--</if>-->"/>
						<div class="description input_tips">公司注册地址</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_capital">注册资金</label>
						<input type="text" name="jiajucompanyverify_capital" id="jiajucompanyverify_capital" class="{maxlength:50}" id="jiajucompanyverify_capital" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_capital}--><!--</if>-->"/>
						<div class="description input_tips">例如：人民币500万</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_authority">登记机关</label>
						<input type="text" name="jiajucompanyverify_authority" id="jiajucompanyverify_authority" class="{maxlength:50}" id="jiajucompanyverify_authority" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_authority}--><!--</if>-->"/>
						<div class="description input_tips">例如：四川工商行政管理局</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_range">经营范围</label>
						<input type="text" name="jiajucompanyverify_range" id="jiajucompanyverify_range" class="{maxlength:50}" id="jiajucompanyverify_range" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_range}--><!--</if>-->"/>
						<div class="description input_tips">例如：装饰工程，绿化，钢结构</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_type">企业类型</label>
						<input type="text" name="jiajucompanyverify_type" id="jiajucompanyverify_type" class="{maxlength:50}" id="jiajucompanyverify_type" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_type}--><!--</if>-->"/>
						<div class="description input_tips">例如：有限责任公司</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_founddate">公司成立日期</label>
						<input type="text" name="jiajucompanyverify_founddate" id="jiajucompanyverify_founddate" class="{dateISO:true}" id="jiajucompanyverify_founddate" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_founddate}--><!--</if>-->" readonly onfocus="WdatePicker({el:'jiajucompanyverify_founddate',skin:'ext',lang:'<!--{$sCalendarLang}-->',dateFmt:'yyyy-MM-dd'})"/>
						<div class="description input_tips">公司成立时间，方便了解公司是否稳定</div>
						<p class="input_errortips"></p>
					</fieldset>
					<fieldset>
						<label for="jiajucompanyverify_note">其他信息</label>
						<input type="text" name="jiajucompanyverify_note" id="jiajucompanyverify_note" class="{maxlength:225}" id="jiajucompanyverify_note" value="<!--<if condition="isset( $oValue )">--><!--{$oValue:jiajucompanyverify_note}--><!--</if>-->"/>
						<div class="description input_tips">商家的其他备注信息</div>
						<p class="input_errortips"></p>
					</fieldset>
				</div>
				<footer>
					<div class="submit_link">
						<input type="hidden" name="ajax" value="1">
						<input type="submit" id="submit_button" value="<!--<lang package='Template'>-->更新<!--</lang>-->" class="alt_btn">
						&nbsp;<input type="reset" value="<!--<lang package='Template'>-->重置<!--</lang>-->">
					</div>
				</footer>
			</form>
		</article>

<!--<include file="public+footer">-->